using System;
using System.Collections.Generic;
using System.Text;
using System.Collections.ObjectModel;

namespace Decav.Data
{
    /// <summary>
    /// Saves object data to the database.
    /// </summary>
    public class ObjectSaveAdapter
    {
        /// <summary>
        /// Initializes a new adapter to save items to the database.
        /// </summary>
        public ObjectSaveAdapter(object obj)
        {
        }

        private readonly Collection<ObjectSaveAdapter> _children = new Collection<ObjectSaveAdapter>();
        private readonly Dictionary<string, object> _values = new Dictionary<string, object>();

        /// <summary>
        /// Adds a value to the adapter to be persisted to the datastore.
        /// </summary>
        /// <param name="columnName">The name of the column to save the value to.</param>
        /// <param name="value">The value to save.</param>
        public void AddValue(string columnName, object value)
        {
        }
    }
}
